package ma.myschool.app.dao;

import java.util.List;

import ma.myschool.app.model.Eleve;

/**
 * User Data Access Object (GenericDao) interface.
 *
 * @author dhatim
 */
public interface EleveDao extends GenericDao<Eleve, Long> {

	/**
	 * Custom search for eleves
	 * @param eleve
	 * @return
	 */
	List<Eleve> searchCustom(Eleve eleve);

	Eleve loadEleveByNumeroInscription(String numeroInscription);

	void deleteEleve(Long id);
    
	List<Eleve> getAll();

	/**
	 * recherche la liste de eleve qui on un retar de paie
	 * @return
	 */
	List<Eleve> getListEleveRetardPay();

	Number getSizeAll();

	List<Eleve> getAllWithoutExonere();
}
